<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            width: 960px;
            height: 40px;
            border: 1px solid black;
            margin: 10px auto;
        }
        .box ul{
            width: 641px;
            margin: auto;
        }
        .box li{
            float: left;
            list-style: none;
            border-left: 1px solid black;
            margin-top: 10px;
        }
        .box ul li a{
            text-decoration: none;
            color: #333;
            font-size: 14px;
            padding-left: 20px;
            padding-right: 20px;
        }
    </style>
</head>
<body>
    <div class="box">
        <ul>
            <li><a href="#">首&nbsp;页</a></li>
            <li><a href="#">网站建设</a></li>
            <li><a href="#">程序开发</a></li>
            <li><a href="#">网络营销</a></li>
            <li><a href="#">企业VI</a></li>
            <li><a href="#">案例展示</a></li>
            <li><a href="#">联系我们</a></li>
        </ul>
    </div>
</body>
</html>